A Case for Using Value Prediction to Improve Performance of Transactional Memory
نویسندگان
چکیده
Transactional Memory(TM) is an optimistic speculative synchronization scheme that provides atomic execution for a region of code marked as a transaction by the programmer. TM avoids many of the problems associated with mutual-exclusion-based synchronization and can make writing parallel programs relatively easier. Programs with critical sections that are not heavily contended benefit from the optimistic nature of TM systems. However, for heavily contended critical sections, performance for TM systems can degrade due to conflicts leading to stalls and expensive rollbacks. In this paper, we look into the nature of the shared data involved in conflicts for TM systems. We find that for a certain class of applications, shared-conflicting data is often updated in a predictable manner by different transactions. We propose using a value predictor to capture this predictability for such data structures and increase overall concurrency by satisfying loads from conflicting transactions with predicted values, instead of stalling. In this paper, we present a possible design and implementation of TM system with a value predictor to avoid conflicts between concurrent transactions. Our benchmark results show us that the value predictor can capture this predictable behavior for most benchmarks and can improve performance of TM programs by minimizing stalls and rollbacks due to conflicts.
منابع مشابه
Validity of transactional analysis and emotional intelligence in training nursing students
Introduction: Emotional intelligence (EI) is considered a critical componentof a nurse’s characteristic trait which is known as a significant predictor of aperson’s job performance and life success. Transactional Analysis (TA) plays a fundamental role in nurse-patient communication and managing emotionsduring difficult dialect with patients. The aim of this review is to discuss theframework of ...
متن کاملPrediction of Above-elbow Motions in Amputees, based on Electromyographic(EMG) Signals, Using Nonlinear Autoregressive Exogenous (NARX) Model
Introduction In order to improve the quality of life of amputees, biomechatronic researchers and biomedical engineers have been trying to use a combination of various techniques to provide suitable rehabilitation systems. Diverse biomedical signals, acquired from a specialized organ or cell system, e.g., the nervous system, are the driving force for the whole system. Electromyography(EMG), as a...
متن کاملOn the analytical modeling of concurrency control algorithms for Software Transactional Memories: The case of Commit-Time-Locking
We present an analytical performance modeling approach for concurrency control algorithms in the context of Software Transactional Memories (STMs). We consider a realistic execution pattern where each thread alternates the execution of transactional and non-transactional code portions. Our model captures dynamics related to the execution of both (i) transactional read/write memory accesses and ...
متن کاملTransactional Value Prediction
This workshop paper explores some ideas for value prediction and data speculation in hardware transactional memory. We present these ideas in the context of false sharing, at the cache line level, within hardware transactions. We distinguish between coherence conflicts, which may result from false sharing, from true data conflicts, which we call transactional conflicts. We build on some of the ...
متن کاملA Dynamic Instrumentation Approach to Software Transactional Memory
A Dynamic Instrumentation Approach to Software Transactional Memory Marek Olszewski Master of Applied Science Graduate Department of Electrical and Computer Engineering University of Toronto 2007 With the advent of chip-multiprocessors, we are faced with the challenge of parallelizing performance-critical software. Transactional memory has been proposed as a promising programming model, with so...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009